package com.wnxy.eleba.entity;

import lombok.ToString;

import java.util.Date;


@ToString
public class Order {

    private Integer id;


    private String orderid;


    private Integer uid;


    private String username;


    private String phone;


    private Integer addressid;


    private Integer shopcartId;


    private Long total;


    private String tradeNo;


    private Date createtime;


    private Date paytime;


    private Date finishtime;

    private String paymentstatus;


    private String orderstatus;


    private Integer sjId;


    private Date deliverytime;


    private Integer deliverId;


    private String remarks;


    public Integer getId() {
        return id;
    }


    public void setId(Integer id) {
        this.id = id;
    }


    public String getOrderid() {
        return orderid;
    }


    public void setOrderid(String orderid) {
        this.orderid = orderid == null ? null : orderid.trim();
    }


    public Integer getUid() {
        return uid;
    }


    public void setUid(Integer uid) {
        this.uid = uid;
    }


    public String getUsername() {
        return username;
    }


    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }


    public String getPhone() {
        return phone;
    }


    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public Integer getAddressid() {
        return addressid;
    }


    public void setAddressid(Integer addressid) {
        this.addressid = addressid;
    }


    public Integer getShopcartId() {
        return shopcartId;
    }


    public void setShopcartId(Integer shopcartId) {
        this.shopcartId = shopcartId;
    }


    public Long getTotal() {
        return total;
    }


    public void setTotal(Long total) {
        this.total = total;
    }


    public String getTradeNo() {
        return tradeNo;
    }


    public void setTradeNo(String tradeNo) {
        this.tradeNo = tradeNo == null ? null : tradeNo.trim();
    }


    public Date getCreatetime() {
        return createtime;
    }


    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getPaytime() {
        return paytime;
    }


    public void setPaytime(Date paytime) {
        this.paytime = paytime;
    }


    public Date getFinishtime() {
        return finishtime;
    }


    public void setFinishtime(Date finishtime) {
        this.finishtime = finishtime;
    }


    public String getPaymentstatus() {
        return paymentstatus;
    }


    public void setPaymentstatus(String paymentstatus) {
        this.paymentstatus = paymentstatus == null ? null : paymentstatus.trim();
    }


    public String getOrderstatus() {
        return orderstatus;
    }


    public void setOrderstatus(String orderstatus) {
        this.orderstatus = orderstatus == null ? null : orderstatus.trim();
    }


    public Integer getSjId() {
        return sjId;
    }

    public void setSjId(Integer sjId) {
        this.sjId = sjId;
    }

    public Date getDeliverytime() {
        return deliverytime;
    }


    public void setDeliverytime(Date deliverytime) {
        this.deliverytime = deliverytime;
    }


    public Integer getDeliverId() {
        return deliverId;
    }


    public void setDeliverId(Integer deliverId) {
        this.deliverId = deliverId;
    }


    public String getRemarks() {
        return remarks;
    }


    public void setRemarks(String remarks) {
        this.remarks = remarks == null ? null : remarks.trim();
    }
}